text/template/parse.item.pos (field)

26 uses

	text/template/parse (current package)
		lex.go#L17: 	pos  Pos      // The starting position, in bytes, of this item in the input string.
		parse.go#L298: 	t.Root = t.newList(t.peek().pos)
		parse.go#L347: 	list = t.newList(t.peekNonSpace().pos)
		parse.go#L365: 		return t.newText(token.pos, token.val)
		parse.go#L371: 		return t.newComment(token.pos, token.val)
		parse.go#L392: 		return t.breakControl(token.pos, token.line)
		parse.go#L394: 		return t.continueControl(token.pos, token.line)
		parse.go#L411: 	return t.newAction(token.pos, token.line, t.pipeline("command", itemRightDelim))
		parse.go#L444: 	pipe = t.newPipeline(token.pos, token.line, nil)
		parse.go#L459: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L463: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L580: 	return t.newEnd(t.expect(itemRightDelim, "end").pos)
		parse.go#L591: 		return t.newElse(peek.pos, peek.line)
		parse.go#L594: 	return t.newElse(token.pos, token.line)
		parse.go#L622: 	return t.newTemplate(token.pos, token.line, name, pipe)
		parse.go#L639: 	return t.newTemplate(token.pos, token.line, name, pipe)
		parse.go#L661: 	cmd := t.newCommand(t.peekNonSpace().pos)
		parse.go#L697: 		chain := t.newChain(t.peek().pos, node)
		parse.go#L736: 		return NewIdentifier(token.val).SetTree(t).SetPos(token.pos)
		parse.go#L738: 		return t.newDot(token.pos)
		parse.go#L740: 		return t.newNil(token.pos)
		parse.go#L742: 		return t.useVar(token.pos, token.val)
		parse.go#L744: 		return t.newField(token.pos, token.val)
		parse.go#L746: 		return t.newBool(token.pos, token.val == "true")
		parse.go#L748: 		number, err := t.newNumber(token.pos, token.val, token.typ)
		parse.go#L760: 		return t.newString(token.pos, token.val, s)